Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove pyoidc and pysaml2 from core #442

Open
wants to merge 11 commits into
base: master
Choose a base branch
from
Open

Conversation

rohe
Copy link
Contributor

@rohe rohe commented Aug 18, 2023

All Submissions:

  • Have you checked to ensure there aren't other open Pull Requests for the same update/change?
  • Have you added an explanation of what problem you are trying to solve with this PR?
  • Have you added information on what your changes do and why you chose this as your solution?
  • Have you written new tests for your changes?
  • Does your submission pass tests?
  • This project follows PEP8 style guide. Have you run your code against the 'flake8' linter?

This PR makes pytest skip tests that are dependent on uninstalled packages. To do this I use an check (importorskip) that comes with pytest.

Also added a missing test for the idpyoidc based OIDC backend.

rohe and others added 11 commits June 8, 2023 09:40
Replacing jwkest with cryptojwt.
Making tests that are dependent on pyoidc not be executed if pyoidc is not installed.
Switched from AES-CBC crypto to AES-GCM.
Replaced dependency on pycryptodomex to cryptojwt.
Refactored idpy_oidc.py to get a create_client function used in testing.
Made pytest skip test modules if a necessary package was not present.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants